package com.dxb.yomall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dxb.common.utils.PageUtils;
import com.dxb.yomall.product.entity.AttrGroupEntity;
import com.dxb.yomall.product.vo.AttrGroupWithAttrsVO;
import com.dxb.yomall.product.vo.SpuAttrGroupVO;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author daixinbao
 * @email 1065808217@qq.com
 * @date 2021-01-05 22:26:07
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catelogId);

    List<com.dxb.yomall.product.vo.AttrGroupWithAttrsVO> getAttrGroupWithAttrsByCatelogId(Long catelogId);

    List<SpuAttrGroupVO> getAttrGroupWithAttrsBySpuId(Long catalogId, Long spuId);
}

